package com.cgy.utils.base.constant;

/**
 * 常用常量类
 * @author CH
 *
 */
public final class Strings {

	public static final String EMPTY = "";

	public static final String FILE_COMMA = ",";
	public static final String FILE_LEFT_SLASH = "/";
	public static final String FILE_RIGHT_SLASH = "\\";
	public static final String JSON = "json";
	/**
	 * json
	 */
	public static final String FILE_DOT = ".";
	/**
	 * //\\{[^>]*?\\}
	 */
	public static final String HOLDER_PLACE_S = "\\{[^>]*?\\}";
	/**
	 * //\\$\\{[^>]*?\\}
	 */
	public static final String HOLDER_PLACE_$S = "\\$\\{[^>]*?\\}";
	/**
	 * 密钥
	 */
	public static final String KEY = "txss";
	/**
	 * SYNLTE
	 */
	public static final String SYNLTE = "SYNLTE";
	/**
	 *  oracle.jdbc.OracleDriver
	 */
	public static final String DRIVER = "oracle.jdbc.OracleDriver";
	/**
	 * jdbcUrl
	 */
	public static final String JDBCURL = "jdbcUrl";
	/**
	 * jdbc_url
	 */
	public static final String JDBC_URL = "jdbc_url";
	/**
	 *
	 */
	public static final String DELETE = "delete";
	/**
	 *
	 */
	public static final String UPDATE = "update";
	/**
	 *
	 */
	public static final String ADD = "add";

	/**
	 * ""
	 */
	public static final String EXTENSION_EMPTY = "";
	/**
	 * null
	 */
	public static final String NULL = null;
	/**
	 * null
	 */
	public static final String EXTENSION_NULL = null;
	/**
	 * .
	 */
	public static final char EXTENSION_SEPARATOR = '.';
	/**
	 * ,
	 */
	public static final String EXTENSION_DOT = ",";
	/**
	 * ;
	 */
	public static final String EXTENSION_SEMICOLON = ";";
	/**
	 * .
	 */
	public static final String EXTENSION_REG_DOT = ".";
	/**
	 * ,
	 */
	public static final String EXTENSION_COMMA = ",";
	/**
	 * %
	 */
	public static final String EXTENSION_PER = "%";
	/**
	 * :
	 */
	public static final String EXTENSION_COLON = ":";
	/**
	 * \\s
	 */
	public static final String EXTENSION_REG_S = "\\s";
	/**
	 * \\
	 */
	public static final String EXTENSION_REG = "\\";
	/**
	 * \\\\
	 */
	public static final String EXTENSION_DOUBLE_REG = "\\\\";
	/**
	 * script
	 */
	public static final String EXTENSION_SCRIPT = "<script[^>]*?>[\\\\s\\\\S]*?</script>";
	/**
	 * style
	 */
	public static final String EXTENSION_STYLE = "<style[^>]*?>[\\\\s\\\\S]*?</style>";
	/**
	 * html
	 */
	public static final String EXTENSION_HTML = "<[^>]+>";
	/**
	 * UTF_8
	 */
	public static final String UTF_8 = "UTF-8";
	/**
	 * UTF_8
	 */
	public static final String EXTENSION_UTF_8 = "UTF-8";
	/**
	 * ISO8859-1
	 */
	public static final String ISO8859_1 = "ISO8859-1";
	/**
	 * _
	 */
	public static final String EXTENSION_UNDERLINE = "_";
	/**
	 * ORACLE
	 */
	public static final String ORACLE = "ORACLE";
	/**
	 * oracle.jdbc.driver.OracleDriver
	 */
	public static final String ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver";
	/**
	 * MYSQL
	 */
	public static final String MYSQL = "MYSQL";
	/**
	 * com.mysql.jdbc.Driver
	 */
	public static final String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
	/**
	 * h2
	 */
	public static final String H2 = "h2";
	/**
	 * org.h2.Driver
	 */
	public static final String _DRIVER = "org.h2.Driver";
	/**
	 * "$", "{", "}"
	 * 特殊字符
	 */
	public static final String[] EXTENSION_ESCAPED = new String[] {"$", "{", "}"};
	/**
	 * success
	 */
	public static final String SUCCESS = "SUCCESS";
	/**
	 * failure
	 */
	public static final String FAILURE = "FAILURE";
	/**
	 * hibernate.dialect
	 */
	public static final String PROPERTY_NAME_HIBERNATE_DIALECT = "hibernate.dialect";
	/**
	 *org.hibernate.dialect.MySQLDialect
	 */
	public static final String PROPERTY_NAME_MYSQL_DIALECT = "org.hibernate.dialect.MySQLDialect";
	/**
	 *org.hibernate.dialect.H2Dialect
	 */
	public static final String PROPERTY_NAME_H2_DIALECT = "org.hibernate.dialect.H2Dialect";

	/**
	 * hibernate.format_sql
	 */
	public static final String PROPERTY_NAME_HIBERNATE_FORMAT_SQL = "hibernate.format_sql";
	/**
	 * hibernate.hbm2ddl.auto
	 */
	public static final String PROPERTY_NAME_HIBERNATE_HBM2DDL_AUTO = "hibernate.hbm2ddl.auto";
	/**
	 * hibernate.ejb.naming_strategy
	 */
	public static final String PROPERTY_NAME_HIBERNATE_NAMING_STRATEGY = "hibernate.ejb.naming_strategy";
	/**
	 * hibernate.show_sql
	 */
	public static final String PROPERTY_NAME_HIBERNATE_SHOW_SQL = "hibernate.show_sql";
	/**
	 * hibernate.cache.use_query_cache
	 */
	public static final String PROPERTY_NAME_HIBERNATE_CACHE_USE_QUERY_CACHE = "hibernate.cache.use_query_cache";
	/**
	 * //\\$\\{[^>]*?\\}
	 */
	public static final String HOLDER_PLACE = "\\$\\{[^>]*?\\}";
	/**
	 * /
	 */
	public static final String EXTENSION_LEFT_SLASH = "/";
	/**
	 * .properties
	 */
	public static final String EXTENSION_PROPERTIES = ".properties";
	/**
	 * 字节B
	 */
	public static final String EXTENSION_UNIT_B = "B";

	/**
	 * 字节K
	 */
	public static final String EXTENSION_UNIT_K = "K";

	/**
	 * 字节M
	 */
	public static final String EXTENSION_UNIT_M = "M";

	/**
	 * 字节G
	 */
	public static final String EXTENSION_UNIT_G = "G";
	/**
	 * 空数组
	 */
	public static final String[] EMPTY_ARRAY = new String[] {};
	/**
	 * "new"
	 */
	public static final String EXTENSION_NEW = "new";
	/**
	 * -
	 */
	public static final String EXTENSION_MINS = "-";
	/**
	 * +
	 */
	public static final String EXTENSION_PLUS = "+";
	/**
	 * root
	 */
	public static final String ROOT = "root";
	/**
	 * pwd
	 */
	public static final String MYSQL_DEFAULT_PWD = "root";
	/**
	 * uname
	 */
	public static final String MYSQL_DEFAULT_UNAME = "root";
	/**
	 * @
	 */
	public static final String EXTENSION_AT = "@";
	/**
	 * application
	 */
	public static final String APPLICATION = "application";
	/**
	 * true
	 */
	public static final String TRUE = "true";
	/**
	 * false
	 */
	public static final String FALSE = "false";
	/**
	 * \n
	 */
	public static final String EXTENSION_N = "\n";
	/**
	 * *
	 */
	public static final String EXTENSION_ASTERISK = "*";
	/**
	 *
	 */
	public static final String EXTENSION_SEPARATOR_ASTERISK = "*******************************************************************************************";
	/**
	 * \n\r
	 */
	public static final String EXTENSION_NR = "\n\r";
	/**
	 * \r\n
	 */
	public static final String EXTENSION_RN = "\r\n";
	/**
	 * \r
	 */
	public static final String EXTENSION_R = "\r";
	/**
	 * \t
	 */
	public static final String EXTENSION_T = "\t";
	/**
	 * \b
	 */
	public static final String EXTENSION_B = "\b";

	/**
	 * gbk
	 */
	public static final String GBK = "gbk";
	/**
	 * 0
	 */
	public static final String ZERO = "0";
	/**
	 *
	 */
	public static final String CURRENT = "./";
	/**
	 * guest
	 */
	public static final String GUEST = "GUEST";
	/**
	 * admin
	 */
	public static final String ADMIN = "ADMIN";
	/**
	 * server.token.outdated
	 */
	public static final String TOKEN_OUTDATED = "server.token.outdated";
	/**
	 *  *
	 */
	public static final String REGEXP_ALL = "(.*)";
	/**
	 *  *
	 */
	public static final String REGEXP_OR = "(*|*)";
	/**
	 *  ?
	 */
	public static final String REGEXP_ONE = "?";
	/**
	 * |
	 */
	public static final String EXTENSION_OR = "|";
	/**
	 * \\s+
	 */
	public static final String REGEXP_EMPTY = "(\\s+)";
	/**
	 * (.*?)
	 */
	public static final String REGEXP_ALL_1 = "(.*?)";
	/**
	 *
	 */
	public static final String BLANK = " ";
	/**
	 * ;
	 */
	public static final String SEMICOLON = ";";

    public static final String PROVIDER = "provider";
    public static final String CONSUMER = "consumer";
    public static final String ZOOKEEPER = "zookeeper";
    public static final String SINGLETON = "singleton";
	public static final String FEIGN = "feign";
    public static final String EXTENSION_WELL = "#";
	public static final String EXTENSION_QUESTION = "?";
	public static final String FONT_ST = "STSongStd-Light";
	public static final String FONT_ENCODE_UNIGB = "UniGB-UCS2-H";
	public static final String IMAGE = "image";
	public static final String VIDEO = "video";
	public static final String FACES = "faces";
	public static final String HTTP_CONFIG_CONNECT_TIMEOUT = "http.config.connectTimeout";
    public static final String HOLDER_CODE = "<[^>]*?>";
}
